home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-07-31 | 4.8 KB | 148 lines | [TEXT/MPS ] |
- # ------------------------------------------------------------------------------
- #
- # FILENAME
- # Additions.make
- #
- # DESCRIPTION
- # This is the make file for the Additions printing extension.
- #
- # COPYRIGHT
- # Copyright Apple Computer, Inc. 1991-1992
- # All rights reserved.
- #
- # MODIFICATION HISTORY
- # 05/15/91 ALA Initial implementation
- # 10/22/92 Duano Added changes for version control
- #
- #
- #-------------------------------------------------------------------------------
-
-
- #========== Directories Containing Source and Object Files ==========
-
- SourceFiles = "{Additions}"
- Objects = "{Additions}Objects:"
-
-
- #========== Compile, Assemble, and Link Options ==========
-
- AsmOptions = -sym off -i {PrintingInterfaces} -case obj
- CompileOptions = -mbg full -sym off -opt full -b2 -r -i {PrintingInterfaces} -i {GraphicsInterfaces} -i {SourceFiles}
- RezOptions = -s {PrintingInterfaces} -i {PrintingInterfaces} -d SystemSevenOrLater=1 {RIncludes}SysTypes.r {RIncludes}Types.r {PrintingInterfaces}PrintingResTypes.r -i {SourceFiles}
-
-
- #========== Files to Link With ==========
-
- CObjs = "{Objects}Additions.a.o" ∂
- "{Objects}Additions.c.o" ∂
- "{Objects}InitializeMessage.c.o" ∂
- "{Objects}DespoolPageMessage.c.o" ∂
- "{Objects}FinishJobMessage.c.o" ∂
- "{Objects}PrintDialogMessage.c.o" ∂
- "{Objects}RenderPageMessage.c.o" ∂
- "{Objects}StartJobMessage.c.o" ∂
- "{Objects}Utilities.c.o" ∂
- ∂
- "{GraphicsLibrary}" ∂
- {CLibraries}StdCLib.o ∂
- {Libraries}Runtime.o ∂
- {Libraries}Interface.o
-
-
- #========== Assembly Build Statements - Additions.a ==========
-
- {Objects}Additions.a.o ƒ {SourceFiles}Additions.a
- Echo "Assembling Additions.a"
- Asm {AsmOptions} {SourceFiles}Additions.a -o {Objects}Additions.a.o
-
-
- #========== Compile Build Statements - Additions.c ==========
-
- {Objects}Additions.c.o ƒ {SourceFiles}Additions.c ∂
- {SourceFiles}Additions.h ∂
- {SourceFiles}Utilities.h
- Echo "Compiling Additions.c"
- C {CompileOptions} {SourceFiles}Additions.c -o {Objects}Additions.c.o
-
-
- #========== Compile Build Statements - InitializeMessage.c ==========
-
- {Objects}InitializeMessage.c.o ƒ {SourceFiles}InitializeMessage.c ∂
- {SourceFiles}Additions.h
- Echo "Compiling InitializeMessage.c"
- C {CompileOptions} {SourceFiles}InitializeMessage.c -o {Objects}InitializeMessage.c.o
-
-
- #========== Compile Build Statements - DespoolPageMessage.c ==========
-
- {Objects}DespoolPageMessage.c.o ƒ {SourceFiles}DespoolPageMessage.c ∂
- {SourceFiles}Additions.h ∂
- {SourceFiles}Utilities.h
- Echo "Compiling DespoolPageMessage.c"
- C {CompileOptions} {SourceFiles}DespoolPageMessage.c -o {Objects}DespoolPageMessage.c.o
-
-
- #========== Compile Build Statements - FinishJobMessage.c ==========
-
- {Objects}FinishJobMessage.c.o ƒ {SourceFiles}FinishJobMessage.c ∂
- {SourceFiles}Additions.h ∂
- {SourceFiles}Utilities.h
- Echo "Compiling FinishJobMessage.c"
- C {CompileOptions} {SourceFiles}FinishJobMessage.c -o {Objects}FinishJobMessage.c.o
-
-
- #========== Compile Build Statements - PrintDialogMessage.c ==========
-
- {Objects}PrintDialogMessage.c.o ƒ {SourceFiles}PrintDialogMessage.c ∂
- {SourceFiles}Additions.h ∂
- {SourceFiles}Utilities.h
- Echo "Compiling PrintDialogMessage.c"
- C {CompileOptions} {SourceFiles}PrintDialogMessage.c -o {Objects}PrintDialogMessage.c.o
-
-
- #========== Compile Build Statements - RenderPageMessage.c ==========
-
- {Objects}RenderPageMessage.c.o ƒ {SourceFiles}RenderPageMessage.c ∂
- {SourceFiles}Additions.h ∂
- {SourceFiles}Utilities.h
- Echo "Compiling RenderPageMessage.c"
- C {CompileOptions} {SourceFiles}RenderPageMessage.c -o {Objects}RenderPageMessage.c.o
-
-
- #========== Compile Build Statements - StartJobMessage.c ==========
-
- {Objects}StartJobMessage.c.o ƒ {SourceFiles}StartJobMessage.c ∂
- {SourceFiles}Additions.h ∂
- {SourceFiles}Utilities.h
- Echo "Compiling StartJobMessage.c"
- C {CompileOptions} {SourceFiles}StartJobMessage.c -o {Objects}StartJobMessage.c.o
-
-
- #========== Compile Build Statements - Utilities.c ==========
-
- {Objects}Utilities.c.o ƒ {SourceFiles}Utilities.c ∂
- {SourceFiles}Additions.h ∂
- {SourceFiles}Additions.h
- Echo "Compiling Utilities.c"
- C {CompileOptions} {SourceFiles}Utilities.c -o {Objects}Utilities.c.o
-
-
- #========== Link and Rez Build Statements ==========
-
- {TargetDir}Additions ƒ {CObjs} ∂
- {SourceFiles}Additions.r ∂
- {SourceFiles}Additions.make
- Echo "Linking Additions Printing Extension"
- Link -ra =resSysHeap,resPurgeable ∂
- -t 'pext' ∂
- -c 'addi' ∂
- -rt pext=0 ∂
- -sg Additions ∂
- -m AdditionsIntf ∂
- {CObjs} ∂
- -o {TargetDir}Additions;
- SetFile {TargetDir}Additions -a IB;
- Echo "Rezzing Additions Printing Extension"
- Rez {RezOptions} -rd -o {TargetDir}Additions {SourceFiles}Additions.r -append
- MakeVersResource {Targ}
-